home *** CD-ROM | disk | FTP | other *** search
- Subject: FW_CArcShape::HitTest does not seem to work
- Sent: 6/18/96 2:50 PM
- Received: 6/24/96 8:23 AM
- From: Walter Holladay, WALTERH@corel.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- I have a little pie chart part that I am doing some hit testing on. I want to
- pass in a point to each section of the pie for hit testing to determine
- which section the point is in. However, no matter where the point is in
- the pie, the first section always returns a hit. I looked at the code and
- the problem seems to be in the CalcAngle function. I'm no mathemetician,
- but it seems to me that a function that always returns zero can't be doing
- what it's supposed to! :-)
-
- What's the deal?
- Walter
-